<template>
  <div>
    <!-- 标题 -->
    <div class="title">
        <img src="../../../assets/images/tool.png" alt="">
        <span>人员统计基本信息</span>
    </div>

    <!-- 内容 -->
    <div class="dataList">
      <el-form ref="form" :model="form" label-width="auto">
        <el-row> 
          <el-col :span="12">
            <el-form-item label="法定代表人" required>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col> 
          <el-col :span="12">
            <el-form-item label="法定代表人电话" required>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col>  
        </el-row>
        <el-row> 
          <el-col :span="12">
            <el-form-item label="实际控制人是否担任法人代表" required>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col> 
          <el-col :span="12">
            <el-form-item label="企业负责人固定电话" required>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col>  
        </el-row>
        <el-row> 
          <el-col :span="12">
            <el-form-item label="安全值班电话" required>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col> 
          <el-col :span="12">
            <el-form-item label="电子邮箱" required>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col>  
        </el-row>
        <el-form-item label="单位传真" required>
              <el-input v-model="form.name"></el-input>
        </el-form-item>
        <el-row> 
          <el-col :span="12">
            <el-form-item label="母公司负责人" required>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col> 
          <el-col :span="12">
            <el-form-item label="母公司负责人联系方式" required>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col>  
        </el-row>
        <el-row> 
          <el-col :span="12">
            <el-form-item label="董事长" required>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col> 
          <el-col :span="12">
            <el-form-item label="董事长联系方式" required>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col>  
        </el-row>
        <el-row> 
          <el-col :span="12">
            <el-form-item label="总经理" required>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col> 
          <el-col :span="12">
            <el-form-item label="总经理联系方式" required>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col>  
        </el-row>
        <el-row> 
          <el-col :span="12">
            <el-form-item label="第一大股东" required>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col> 
          <el-col :span="12">
            <el-form-item label="第一大股东联系方式" required>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col>  
        </el-row>
        <el-row> 
          <el-col :span="12">
            <el-form-item label="技术负责人" required>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col> 
          <el-col :span="12">
            <el-form-item label="技术负责人联系方式" required>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col>  
        </el-row>
        <el-row> 
          <el-col :span="12">
            <el-form-item label="安全总监" required>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col> 
          <el-col :span="12">
            <el-form-item label="安全总监联系方式" required>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col>  
        </el-row>
        <el-row> 
          <el-col :span="12">
            <el-form-item label="安全负责人" required>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col> 
          <el-col :span="12">
            <el-form-item label="安全负责人联系方式" required>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col>  
        </el-row>
        <el-row> 
          <el-col :span="12">
            <el-form-item label="从业人员数量" required>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col> 
          <el-col :span="12">
            <el-form-item label="特种作业人员数量" required>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col>  
        </el-row>
        <el-row> 
          <el-col :span="12">
            <el-form-item label="当年新招人员数量" required>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col> 
          <el-col :span="12">
            <el-form-item label="注册安全工程师人员数量" required>
              <el-input v-model="form.name"></el-input>
            </el-form-item>
          </el-col>  
        </el-row>

        <!-- 下一步按钮 -->
        <el-form-item class="middle">
            <el-button type="primary" @click="onSubmit" plain>保存</el-button>
            <el-button type="primary" @click="nextTo">下一步</el-button>
        </el-form-item>

     </el-form>
    </div>
  </div>
</template>

<script>
export default {
  data(){
    return{
       form: {
         name: '',
       }

    }
  },
  methods: {
      nextTo(){
        this.$parent.next();
      }
  }
}
</script>

<style lang="scss" scoped>
.title{
  display: flex;
  padding: 14px;
  border-bottom: 1px solid #D3D3D3;
  span{
    margin-left: 10px;
  }
}

.dataList{
  padding: 20px;
}

.middle{
  display: flex;
  justify-content: center;
}

</style>